package com.weishu.core.service.impl;

import com.weishu.core.entity.TbRelationPremisesProperty;
import com.weishu.core.mapper.TbRelationPremisesPropertyMapper;
import com.weishu.core.service.ITbRelationPremisesPropertyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 楼盘-特色表 服务实现类
 * </p>
 *
 * @author cuidk
 * @since 2021-10-19
 */
@Service
public class TbRelationPremisesPropertyServiceImpl extends ServiceImpl<TbRelationPremisesPropertyMapper, TbRelationPremisesProperty> implements ITbRelationPremisesPropertyService {

    @Autowired
    private TbRelationPremisesPropertyMapper tbRelationPremisesPropertyMapper;
    /**
     * 添加楼盘-特色中间表信息
     * @param tbRelationPremisesProperty 楼盘-特色中间表信息
     */
    @Override
    public int insertTbRelationPremisesProperty(TbRelationPremisesProperty tbRelationPremisesProperty) {
        return tbRelationPremisesPropertyMapper.insertTbRelationPremisesProperty(tbRelationPremisesProperty);
    }
}
